import instance from "@/utils/HttpUtils.js";
import qs from "qs";

export default{
  changeStatus(data) {
    return instance.put("",data);
  },
  addCFood(data) {
    return instance.post("/foods/saveFood", data);
  },
  updateFood(data) {
    return instance.put("/foods/updateFood", data);
  },
  getFoodList(data) {
    return instance.get("/foods/findFoodByPage?"+qs.stringify(data));
  },


}